package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCaClassrooms;
import com.dingreading.cloud.soms.entity.table.MstCaClassroomsTableDef;
import com.dingreading.cloud.soms.mapper.MstCaClassroomsMapper;
import com.dingreading.cloud.soms.service.MstCaClassroomsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Service
public class MstCaClassroomsServiceImpl extends BaseServiceImpl<MstCaClassroomsMapper, MstCaClassrooms, MstCaClassroomsTableDef> implements MstCaClassroomsService {


    @Override
    protected MstCaClassroomsTableDef getTable() {
        return MstCaClassroomsTableDef.mstCaClassrooms;
    }

    @Override
    public List<MstCaClassrooms> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
}
